package com.cyj.dao;

import com.cyj.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface UserDao {

    User selectUser(Map map);

    List<User> selectUserList(Map map);

    List<User> selectAllUserList(Map map);

    Integer addUser(User user);

    Integer updateUser(User user);
}
